#include<iostream> 
using namespace std;
int n;
double m;
double p;
int main()
{
	cin>>n>>m;
	while(n--)
	{
		cin>>p;
		if(p<m)
		printf("On Sale! %.1f\n",p);
	}
	return 0;
}
